<?php
/**
 * page level comment
 * @package somepkg
 */
/**
 * 给全局变量写comment
 * @global integer $GLOBALS['_myvar']
 * @name $_myvar
 */
$GLOBALS['_myvar'] = 6;
/**
 * a test class
 */
class Test {
	/**
	 * a function to say sb's name
	 * @author tom.wang<tom.wang.sz@qq.com>
	 * @global integer 和全局变量关联
	 * @param string $name
	 *
	 * @return string
	 */
	public function say($name) {
		global $_myvar;
	}
}
?>